package tg.app.rj.cuwo;

import java.rmi.RemoteException;
import java.util.Set;

import psdi.mbo.Mbo;
import psdi.mbo.MboServerInterface;
import psdi.mbo.MboSet;
import psdi.util.MXException;

public class CuwoSet extends MboSet implements CuwoSetRemote {

	public boolean current;
	public boolean history;
	Set listeners;
	private static final long serialVersionUID = 1L;

	public CuwoSet(MboServerInterface ms) throws RemoteException {
		super(ms);

	}

	protected Mbo getMboInstance(MboSet mboset) throws MXException,
			RemoteException {

		return new Cuwo(mboset);
	}

	// public String getName() {
	// return "CUWO";
	// }

	public boolean getCurrent() throws MXException, RemoteException {
		return this.current;
	}

	public boolean getHistory() throws MXException, RemoteException {
		return this.history;
	}

	public void setCurrent(boolean flag) throws MXException, RemoteException {
		this.current = flag;
	}

	public void setHistory(boolean flag) throws MXException, RemoteException {
		this.history = flag;
	}
}
